package com.yy.wga.goods.feign.request;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class GetSpuListReq {

    @NotNull(message = "每页条数为空")
    @Range(min = 1, max = 1000, message = "1 <= 每页条数 <= 1000")
    protected Integer pageSize = 20;

    private String keyword;

    private String nextKey;

    private Integer categoryType;
}
